button commandfield commandargument pass textbox

80

button commandfield commandargument pass textbox -

Button btnSender = (Button)sender;
TextBox txt_TextBox = (TextBox)btnSender.Parent.FindControl("TextBox1");
string Text = txt_TextBox.Text;

Comments

Submit
0 Comments